<%@page import="org.jeecgframework.core.util.IpUtil"%>
<%@page import="org.apache.commons.lang3.StringUtils"%>
<%@ taglib prefix="t" uri="/easyui-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
<% 
  String path = request.getContextPath();
  String webRoot = IpUtil.getWebRoot(request);
  String basePath = webRoot;
  String staticPath = webRoot + "/static";
  String pluginPath = webRoot + "/plug-in";
  String xyPageRoot = IpUtil.getWebRoot(request) + "/webpage/com/graduation";
%>

<c:set var="basePath" value="<%=webRoot%>" />
<c:set var="webRoot" value="<%=webRoot%>" />
<c:set var="staticPath" value="<%=webRoot + \"/static\"%>" />
<c:set var="pluginPath" value="<%=webRoot + \"/plug-in\"%>" />
<c:set var="xyPageRoot" value="<%=xyPageRoot%>" />

<script type="text/javascript">
  var $webRoot = "<%=webRoot%>";
  var $staticPath = "<%=staticPath%>";
  var $pluginPath = "<%=pluginPath%>"; 
  var $xyPageRoot = "<%=xyPageRoot%>";
  
  
  function wxurl(url) {
	    if (!url) {
	      return url;
	    } else {
	/*       if (url.indexOf('?') > 0) {
	        url += "&";
	      } else { 
	        url += "?";
	      }*/
	      return $webRoot + url;
	    }
	  }
</script>